import request from '@/utils/request'

// 查询施工队图片信息列表
export function qualificalistInfo(query) {
  return request({
    url: '/qualification/info/infopic/list',
    method: 'get',
    params: query
  })
}

// 查询施工队图片信息详细
export function qualificagetInfo(qualifiPicId) {
  return request({
    url: '/qualification/info/infopic/' + qualifiPicId,
    method: 'get'
  })
}

// 新增施工队图片信息
export function qualificaaddInfo(data) {
  return request({
    url: '/qualification/info/infopic/add',
    headers: {
      'Content-Type': 'multipart/form-data'
    },
    method: 'post',
    data: data
  })
}

// 修改施工队图片信息
export function qualificaupdateInfo(data) {
  return request({
    url: '/qualification/info/infopic/edit',
    method: 'put',
    data: data
  })
}

// 删除施工队图片信息
export function qualificadelInfo(qualifiPicId) {
  return request({
    url: '/qualification/info/infopic/' + qualifiPicId,
    method: 'delete'
  })
}

// 导出施工队图片信息
export function qualificaexportInfo(query) {
  return request({
    url: '/qualification/info/infopic/export',
    method: 'get',
    params: query
  })
}

// 图片上传
// export function uploadImage(data) {
//   return request({
//     url: '/qualification/info/uploadImage',
//     method: 'post',
//     data: data
//   })
// }

// export function uploadImage(data) {
//   return request({
//     url: '/qualification/info/uploadImage',
//     method: 'post',
//     data: data
//   })
// }
